AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions
/
com.appdimens.dynamic.core
/
DesignScaleConstants
Design
Scale
Constants
object
DesignScaleConstants
Members
Properties
BASE_
DIAGONAL_
DP
Link copied to clipboard
const
val
BASE_DIAGONAL_DP
:
Float
=
611.6305f
√(300² + 533²)
BASE_
HEIGHT_
DP
Link copied to clipboard
const
val
BASE_HEIGHT_DP
:
Float
=
533.0f
BASE_
PERIMETER_
DP
Link copied to clipboard
const
val
BASE_PERIMETER_DP
:
Float
=
833.0f
BASE_
WIDTH_
DP
Link copied to clipboard
const
val
BASE_WIDTH_DP
:
Float
=
300.0f
INV_
REFERENCE_
ASPECT_
RATIO
Link copied to clipboard
const
val
INV_REFERENCE_ASPECT_RATIO
:
Float
=
0.5617978f
REFERENCE_
ASPECT_
RATIO
Link copied to clipboard
const
val
REFERENCE_ASPECT_RATIO
:
Float
=
1.78f